package com.bw.solr.common;

import org.apache.solr.client.solrj.impl.HttpSolrClient;

public class SolrUtil {
	
	private String baseURL = "http://localhost:28080/solr/mycore";
	
	public HttpSolrClient getConnection(){
		return new HttpSolrClient(baseURL);
	}
	public HttpSolrClient getConnection(String baseURL){
		return new HttpSolrClient(baseURL);
	}
	
	
}
